#ifndef WALLPAPERVIEW_H
#define WALLPAPERVIEW_H

#include <QGraphicsView>

class WallpaperView : public QGraphicsView
{
    Q_OBJECT
public:
    explicit WallpaperView(QWidget *parent = 0);
    ~WallpaperView()
    {
        delete m_Scene;
    }

    void mousePressEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);
public:
    QGraphicsScene*         m_Scene;
    QGraphicsPixmapItem*    m_bgItem;
    QGraphicsPixmapItem*    m_CrosswiseItem;
    QGraphicsPixmapItem*    m_PortraitItem;
signals:
    void back(int i);
public slots:

};

#endif // WALLPAPERVIEW_H
